<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserAccess.ascx.cs" Inherits="UserAccess" %>
<asp:ListBox ID="ListBox_UserAccess" runat="server"></asp:ListBox>
<asp:TextBox ID="TextBox_PageTitle" runat="server"></asp:TextBox>
<script type="text/javascript">
    accessList = $('<%= ListBox_UserAccess.ClientID %>');
    var path = $('<%= TextBox_PageTitle.ClientID %>').value;
    var pathSplit = path.split('/');
    var page = pathSplit[pathSplit.length-1].split('.')[0];
    applyUserAccess(page);
</script>